package com.ht.file.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.ht.right.entity.BaseEntity;

/**
 * 文件目录维护
 * @author ran
 *
 */
@Entity
@Table(name = "ht_file_directory", catalog = "htoa" )
public class FileDirectory extends BaseEntity implements java.io.Serializable {

	private static final long serialVersionUID = 1L;
	
	private String directoryCode;  //目录编号
	
	private String directoryName;  //目录名称
	
	private String directoryParentCode;   //父目录编号
	
	@Column(name="directory_code",length=20)
	public String getDirectoryCode() {
		return directoryCode;
	}

	public void setDirectoryCode(String directoryCode) {
		this.directoryCode = directoryCode;
	}
	
	@Column(name="directory_name",length=200)
	public String getDirectoryName() {
		return directoryName;
	}
	
	public void setDirectoryName(String directoryName) {
		this.directoryName = directoryName;
	}

	@Column(name="directory_parent_code",length=20)
	public String getDirectoryParentCode() {
		return directoryParentCode;
	}

	public void setDirectoryParentCode(String directoryParentCode) {
		this.directoryParentCode = directoryParentCode;
	}

}